package com.sise.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zj
 */
@Data
@Accessors(chain = true)
public class Rating implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user")
    private String user;

    /**
     * 商品id
     */
    @TableField("item")
    private String item;

    /**
     * 评分
     */
    @TableField("item_rating")
    private String itemRating;

    /**
     * 推荐值
     */
    @TableField("item_value")
    private String itemValue;
}
